<?
require_once 'qi/init.php';

class Teste
{
	public $foo = "bar";

	function upload()
	{
		Qi_Upload::salvar_em(".");
	}
}

$t = new Teste();
$t->upload();

?>